package zy06.p1;
import java.util.*;
public class GetTime {
	public int hour,min,sec;
	public void get(){
		Calendar t = Calendar.getInstance();
		hour=t.get(t.HOUR_OF_DAY);
		min=t.get(t.MINUTE);
		sec=t.get(t.SECOND);

	}

}
